package work.xiaohong.storage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Schema(name = "StorageTbl")
@Data
public class StorageTbl implements Serializable{

    @TableId(value = "id",type = IdType.ASSIGN_ID)
    @Schema(description = "",accessMode = Schema.AccessMode.READ_ONLY,required = true)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
	private Integer id;//

    @Schema(description = "")
    @TableField("commodity_code")
	private String commodityCode;//

    @Schema(description = "")
    @TableField("count")
	private Integer count;//


}

